refactoring - meaning and definition. What is refactoring
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is refactoring - definition

PROCESS OF RESTRUCTURING EXISTING COMPUTER CODE WITHOUT CHANGING ITS EXTERNAL BEHAVIOR
Refactor; Extract Method; Reengineering (software); Redesign (software); Code Grooming; Refactoring; Refactored; Refactorings; Refactored solutions; Hardware refactoring; Code refactor; Refactor code; Automated code refactoring; Automated refactoring; Automatic refactoring; Code Refactoring

refactoring         
<object-oriented, programming> Improving a computer program by reorganising its internal structure without altering its external behaviour. When software developers add new features to a program, the code degrades because the original program was not designed with the extra features in mind. This problem could be solved by either rewriting the existing code or working around the problems which arise when adding the new features. Redesigning a program is extra work, but not doing so would create a program which is more complicated than it needs to be. Refactoring is a collection of techniques which have been designed to provide an alternative to the two situations mentioned above. The techniques enable programmers to restructure code so that the design of a program is clearer. It also allows programmers to extract reusable components, streamline a program, and make additions to the program easier to implement. Refactoring is usually done by renaming methods, moving fields from one class to another, and moving code into a separate method. Although it is done using small and simple steps, refactoring a program will vastly improve its design and structure, making it easier to maintain and leading to more robust code. {"Refactoring, Reuse & Reality" by Bill Opdyke (http://st-www.cs.uiuc.edu/users/opdyke/wfo.990201.refac.html)}. {"Refactoring, a first example" by Martin Fowler (http://aw.com/cseng/titles/0-201-89542-0/vidrefact/vidrefact.html)}. (2001-05-02)
Code refactoring         
In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its functionality.
Service refactoring         
Service Refactoring
Within the service-orientation design paradigm, Service Refactoring is a design pattern, which is applied to an existing serviceservice so that either the service logic or its implementation can be changed without affecting the service consumers.

Wikipedia

Code refactoring

In computer programming and software design, code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve the design, structure, and/or implementation of the software (its non-functional attributes), while preserving its functionality. Potential advantages of refactoring may include improved code readability and reduced complexity; these can improve the source code's maintainability and create a simpler, cleaner, or more expressive internal architecture or object model to improve extensibility. Another potential goal for refactoring is improved performance; software engineers face an ongoing challenge to write programs that perform faster or use less memory.

Typically, refactoring applies a series of standardized basic micro-refactorings, each of which is (usually) a tiny change in a computer program's source code that either preserves the behavior of the software, or at least does not modify its conformance to functional requirements. Many development environments provide automated support for performing the mechanical aspects of these basic refactorings. If done well, code refactoring may help software developers discover and fix hidden or dormant bugs or vulnerabilities in the system by simplifying the underlying logic and eliminating unnecessary levels of complexity. If done poorly, it may fail the requirement that external functionality not be changed, and may thus introduce new bugs.

By continuously improving the design of code, we make it easier and easier to work with. This is in sharp contrast to what typically happens: little refactoring and a great deal of attention paid to expediently add new features. If you get into the hygienic habit of refactoring continuously, you'll find that it is easier to extend and maintain code.